#if !defined(AFX_SETPROPERTIES_H__0FAF4A6C_E8D5_4BD3_8095_7B38DF72A668__INCLUDED_)
#define AFX_SETPROPERTIES_H__0FAF4A6C_E8D5_4BD3_8095_7B38DF72A668__INCLUDED_

#include "MainFrm.h"
#include "SetROI.h"
#include "afxcmn.h"
#include "NumSpinCtrl.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetProperties.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetProperties dialog

class CSetProperties : public CDialog
{
// Construction
public:
	Settings_Params m_SaveData;
	CSetProperties(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetProperties)
	enum { IDD = IDD_PROPERTIES };
	CString	m_csLogFilePath;
	CString	m_csVideoFilePath;
	CString	m_csSettingsPath;
	BOOL	m_bSaveLog;
	UINT	m_iFPS;
	UINT	m_iBufSize;
	BOOL	m_bVideoLength;
	long	m_lMaxVideoLength;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetProperties)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CStdioFile m_SettingsFile;

	// Generated message map functions
	//{{AFX_MSG(CSetProperties)
	afx_msg void OnLogCheck();
	afx_msg void OnLOGBrowse();
	afx_msg void OnVideoBrowse();
	afx_msg void OnBtnSaveSettings();
	afx_msg void OnSettingsBrowse();
	afx_msg void OnBTNLoadSETTINGS();
	virtual void OnOK();
	afx_msg void OnVideoLengthCheck();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP();

private:
	// Dialog variables
	CSetROI			m_dSetROI;
public:
	afx_msg void OnBnClickedVideoFile2();
	long m_lFrameExposure;
	CString m_csCameraMode;
	CString m_csCameraControlLine;
	CString m_csCameraTriggerLine;
	afx_msg void OnEnKillfocusVideoExposureEdit();
	afx_msg void OnEnKillfocusVideoFpsEdit();
	CNumSpinCtrl	m_spinExposure;
	CString m_csCameraTriggerOutLine;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETPROPERTIES_H__0FAF4A6C_E8D5_4BD3_8095_7B38DF72A668__INCLUDED_)
